package it.bsoft.gameboy.memory;

import it.bsoft.bin.util.UByte;

public class ByteRegister extends Memory {

	public ByteRegister() {
		super(1);
	}
	
	public UByte getValue(){
		return super.readByteAt(0);
	}
	
	public void setValue(UByte value){
		super.writeByteAt(value, 0);
	}
	
	public void setValue(long value){
		super.writeByteAt(value, 0);
	}

}
